package org.jeecg.modules.bigdatashow.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.bigdatashow.entity.Station;
import org.jeecg.modules.bigdatashow.mapper.StationMapper;
import org.jeecg.modules.bigdatashow.service.IStationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 工位表
 * @Author: jeecg-boot
 * @Date:   2022-04-05
 * @Version: V1.0
 */
@Service
public class StationServiceImpl extends ServiceImpl<StationMapper, Station> implements IStationService {

    @Autowired
    StationMapper stationMapper;

    @Override
    public List<Station> list() {
        return stationMapper.list();
    }

    @Override
    public List<Station> selectByLineId(String id) {
        List<Station> stationList = stationMapper.selectByLineId(id);

        return stationMapper.selectByLineId(id);
    }
}
